{extend name="base/main" }

{block name="body"}

<div class="kd ">
    <div class="left ">
    <div class="weizhi ">当前位置：<a href="/">首页</a>&nbsp;>&nbsp;<a href="/cat/<?php echo $parent['pinyin']; ?>"><?php echo $parent['title']; ?></a>&nbsp;>&nbsp;<a href="/cat/<?php echo $category['pinyin']; ?>"><?php echo $category['title']; ?></a></div>
    
    <div class="biaoti top20 "><h2><?php echo $category['title']; ?></h2></div>
    <div class="listnews top20 ">
        <ul>
            <?php foreach($doclist as $vv): ?>
            <li>
                <div class="listnews_img">
                    <a href="/news/<?php echo $vv['id']; ?>.html" target="_blank">
                        <img src="<?php echo $vv['pic']; ?>"/>
                    </a>
                </div>
                <div class="listnews_text">
                    <a href="/news/<?php echo $vv['id']; ?>.html" target="_blank">
                        <p class="listnews_biaoti"><?php echo $vv['title']; ?></p>
                        <p class="listnews_jianjie"><?php echo msubstr(strip_tags($vv['content']),0,200); ?></p>
                        <p class="listnews_time"><?php echo date('Y-m-d',$vv['create_time']); ?></p>
                    </a>
                </div>
            </li>
            <?php endforeach; ?>
        </ul>
    </div>

    <div class="mypage 7">
        <?php echo $doclist->render(); ?>
    </div> 
      
    </div>
    <div class="right ">
        {include file="base/right" /}
    </div>
    <div class="clear"></div>
</div>
{/block}